package ph.edu.ics.sp.graphisched;

import java.awt.BasicStroke;
import java.awt.Point;
import java.awt.Stroke;

public interface GraphiSchedConstants {
	// frame constants
	public static final String APP_NAME = "Graphi-Sched ver 0.0.1";
	public static final int FRAME_WIDTH = 780;
	public static final int FRAME_HEIGHT = 630;

	// width of line
	public static final Stroke STROKE_LINE = new BasicStroke(1.0f);
	public static final Stroke STROKE_RECT = new BasicStroke(1.5f);
	public static final int TABLE_PANE_WIDTH = 523;
	public static final int TABLE_PANE_HEIGHT = 483;
	public static final int BOX_WIDTH = 74;
	public static final int BOX_HEIGHT = 19;
	public static final int HEADER_HEIGHT = 27;
	public static final int TIME_HEADER_WIDTH = 79;

	// classbox constants
	public static final int MON = 79;
	public static final int TUE = 153;
	public static final int WED = 227;
	public static final int THUR = 301;
	public static final int FRI = 375;
	public static final int SAT = 449;
	public static final Point TIME_7_730 = new Point(27, 46);
	public static final Point TIME_730_8 = new Point(46, 65);
	public static final Point TIME_8_830 = new Point(65, 84);
	public static final Point TIME_830_9 = new Point(84, 103);
	public static final Point TIME_9_930 = new Point(103, 122);
	public static final Point TIME_930_10 = new Point(122, 141);
	public static final Point TIME_10_1030 = new Point(141, 160);
	public static final Point TIME_1030_11 = new Point(160, 179);
	public static final Point TIME_11_1130 = new Point(179, 198);
	public static final Point TIME_1130_12 = new Point(198, 217);
	public static final Point TIME_12_1230 = new Point(217, 236);
	public static final Point TIME_1230_1 = new Point(236, 255);
	public static final Point TIME_1_130 = new Point(255, 274);
	public static final Point TIME_130_2 = new Point(274, 293);
	public static final Point TIME_2_230 = new Point(293, 312);
	public static final Point TIME_230_3 = new Point(312, 331);
	public static final Point TIME_3_330 = new Point(331, 350);
	public static final Point TIME_330_4 = new Point(350, 369);
	public static final Point TIME_4_430 = new Point(369, 388);
	public static final Point TIME_430_5 = new Point(388, 407);
	public static final Point TIME_5_530 = new Point(407, 426);
	public static final Point TIME_530_6 = new Point(426, 445);
	public static final Point TIME_6_630 = new Point(445, 464);
	public static final Point TIME_630_7 = new Point(464, 483);

	// acad year constant
	public static final int NUM_OF_ACAD_YR = 20;
	public static final int STARTING_YR = 2009;

	// print to file constants
	public static final int ROW_TO_PRINT_BODY = 7;
	public static final int ROW_TO_PRINT_COLLEGE = 0;
	public static final int ROW_TO_PRINT_DEPT = 1;
	public static final int ROW_TO_PRINT_COURSEOFFERING = 3;
	public static final int ROW_TO_PRINT_DEGREE = 5;
	public static final int COL_1 = 10;
	public static final int COL_2 = 5;
	public static final String LEC_LABEL = "Lect";
	public static final String LAB_LABEL = "Lab";
	public static final String SEC_LABEL = "Sect";

	// save to file constants
	public static final String COLLEGE_TAG = "<college value=\"";
	public static final String DEPT_TAG = "<department value=\"";
	public static final String SEM_TAG = "<semester value=\"";
	public static final String ACAD_YEAR_TAG = "<acadyear value=\"";
	public static final String CLASSROOM_TAG = "<classroom value=\"";
	public static final String COURSE_TAG = "<course details=\"";
	public static final String ROOMSCHED_TAG = "<roomsscheduled names=\"";
	public static final String ROOMS_TAG = "<rooms names=\"";
	public static final String SUBJECT_TAG = "<subject details=\"";
	public static final String LAB_TAG = "<laboratory details=\"";
	public static final String CLOSE_TAG = "\">";
	public static final String COURSES_TAG = "<courses>";
	public static final String COURSES_END_TAG = "</courses>";
	public static final String COURSE_LIST_TAG = "<courselist>";
	public static final String COURSE_LIST_END_TAG = "</courselist>";
	public static final String COURSES_SCHED_TAG = "<coursesscheduled>";
	public static final String COURSES_SCHED_END_TAG = "</coursesscheduled>";

}
